Repository navigation
Conversation
Roles, names, state words, secret fields read as (hidden), the refused set never a node, name or value, people's text marked as data, stable ids, the node cap with more: n, outline, changed-since diff and tokens, and the point_at ring geometry. A leaf over panelsCore; not wired into any tool (GRANT-STOP: no existing first-use card covers reading control values). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t-only wiring) uiTree.js walks only the panel registry's roots (toasts, modals and the refused set are never under one; a refused container takes its subtree), answers one panel in full or every open panel in outline, changed-since by token, and model rows for the Flow / Shader editors and the Timeline. point_at rings one control for 2 s: ids only from a read on this page, no press, focus or scroll; an open panel not in front comes forward. claude:9 ruling (29 Nov): reads go under READ_KIND = 'read' through the setReadGate seam; point_at asks nothing and refuses through setPointGate when the app's Guide marks switch is off. Both are registered by the Deck lane 108-grants-read. Rides the uiStateTool chunk (no new lazy file). e2e connector-ui-tree-108 (two tabs, drawing paused): the never-touch walk over every refused surface and a consent card, secret fields (hidden), since, point_at, Ana's chat line and object name as data, no new wire type. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…val drafts, docs uiTreeTools.js holds the two schemas and the help text (imported by nothing until the Deck lane 108-grants-read lists them: listing delta today 0 bytes). requests-108-tree.json: 5 eval rows to merge then. battery.json lists the new suite; CLAUDE.md entry for 108 U1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…held to the 480 s limit); battery 130 s Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ee / point_at listed
- read = a new first-use kind ("see the names and values of controls in your open panels"): its own question
(showTool.gateReadKind, Always / This time / No per app), never in show's combined question, so a 1.87.0
Allow everything does not cover it; the old show:allow:<kind> migration is limited to panel / camera / code
- Guide marks switch per app (show:marks, on by default, not a grant): point_at and guide marks ask nothing and
refuse when it is off; an app's first ring or marks show a one-time toast (marksGate(by, 'draw'))
- Settings > Privacy: "See the controls in my open panels" + a Guide marks section
- ui_tree / point_at are person tools, the connector's run {tree, point}; catalog + pins; controlResolver for
guide marks (only ids a read on this page issued)
- eval rows merged into requests.json, mock answers; vitest grantsRead108; e2e connector-grants-read-108
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…aw phase and controlResolver - tests/e2e/fixtures/lock/search.json re-recorded (LOCK_RECORD=1): additions only (the two new Privacy rows, 18 lines) plus recordedAt - CLAUDE.md: marksGate(by, 'draw') spends the toast only when drawing (e2e r1 caught a made-up id spending it; the fix is in phase 1), uiTree.controlResolver for guide marks Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…se finds it again A WeakRef can hold a control the panel has since re-rendered (detached, still not collected): the resolver used it and never ran find(). Now a detached ref falls through to find(). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…clear_guide_marks) Roadmap 108 U1b. Claude points at things on the person's own screen the way the docs' pictures do, instead of a screenshot: arrows, hand-drawn rings, numbered badges and short labels, anchored to an object, a world point or a screen point, following the view, with an edge arrow when the anchor is off screen. Numbered steps show all at once; `current` draws one stronger. - Local to the person's tab: plain DOM over the canvas (never in a recording, photo or export; no wire message, measured in the two-tab row), pointer-events none on the whole layer. - Hidden while a question card, an approval card or a dialog is open; back only once it closes. - Plain text only (no markup, links or emoji), at most 80 characters, at most 12 marks; 20 s by default, at most 120 s; a new call replaces the set; the "<app>'s marks" chip with Clear; Esc. - Style: the docs' marks (docs tools/shots/lib/draw.cjs) through new tokens --mark / --mark-halo / --mark-on. Its own pacing (12 a minute), not show's 6. - Rides the show chunk (no new lazy chunk; full build 899 files). - GRANT-STOP: gated as MARKS_KIND = 'panel' as the brief says, pending claude:9's ruling on whether the panel card text covers drawing on the screen (lane QUESTIONS Q1). Tool list +1,334 B (117,007 -> 118,341), +545 measured tokens (47,381 -> 47,926, sonnet). Eval: 5 rows u1b-*, v1.87.0 catalog 1/5, this branch 5/5. Suites: vitest guideMarks (23) + showScene; e2e connector-guide-marks 57/57. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…lver seam
A mark may anchor on a control id from 108-tree's ui_tree ({control: id}). The tree owns which controls
exist and which are refused: it registers ONE resolver (guideMarks.setControlResolver {element, check});
until it does, a control anchor is refused with the reason, and the listing does not offer `control`
yet (it is added when this branch is stacked on 108-tree's).
- Control marks draw on their own layer over the panels and under the top bar, every menu, dialog and
toast (z side-panel + 1, the chip + 2), pointer-events none: a click on the control under a ring
reaches the control (measured).
- They follow the control's live box (scroll, panel moves, window resize); a control scrolled away or
covered hides its mark until it shows again; a control gone takes its mark; every anchor gone ends
the set and its chip (600 ms grace for a re-render).
- Numbered steps never advance on a press (Claude makes none); hidden under question cards as in phase 1.
- e2e connector-guide-marks section 10 with a stand-in resolver: 74/74 (twice, ~95 s).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ntrol anchors on ui_tree ids - MARKS_ENABLED(app) from the per-app Guide marks switch replaces the test-only MARKS_KIND = 'panel' gate (claude:9 ruling, 29 Nov); busy hands and the 12-a-minute pacing stay; gateShowKind back to its 1.87.0 shape - a control anchor resolves only through uiTree.controlResolver (ids a ui_tree read on this page issued); the toast is spent only when marks are drawn - the marks item schema and listing brief name the control anchor; descriptions say marks ask nothing - unit + e2e: no question, the toast once, real ui_tree ids, a made-up id refused, the switch off refuses Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…9/10 checks Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ion 10 closes the chat window - m2 on an unfolded phone (718 px): the centred toast stack reached over the chip's Clear, and the app's one-time 'can draw guide marks' toast is up on exactly that first call. The chip now steps below any toast overlapping it. - section 10's resize row: the chat column landed over the Inspector, so the mark correctly read 'not visible'; the setup closes the chat window Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AlexZ005
force-pushed
the
lane/108-marks
branch
from
November 29, 2026 17:57
5ae581b to
a3149dc
Compare
Collaborator
Author
|
Rebased by lane 108-grants-read onto What changed on top of the two original commits (claude:9 ruling, 29 Nov):
Proof on the Deck: 🤖 Generated with Claude Code |
AlexZ005
marked this pull request as ready for review
November 29, 2026 17:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DRAFT: do not merge before claude:9 rules on the grant kind (GRANT-STOP, QUESTIONS-108-marks Q1/Q3).
108-marks (U1b): guide marks — Claude points at things on your screen
What
Instead of a whole-window screenshot, Claude draws on the person's own view the way the docs' pictures do: arrows,
hand-drawn rings, numbered badges and short labels.
show {action: "guide_marks", marks: [{kind: arrow | ring | number | label, object | at | screen, n, text}], current, clear_after_s}andshow {action: "clear_guide_marks"}.the object moves; an anchor off screen gets an edge arrow on the view's border.
currentis drawn stronger. It never advances by itself.{control: id}anchors a mark on an interface control from ui_tree. It draws on a layer over the panels andunder the top bar, every menu, dialog and toast. It follows the control through scroll, panel moves and resizes, hides
while the control is scrolled away or covered, and goes when the control goes. The listing does not offer
controluntil ui_tree is in the build. Until then it is refused with the reason.
Rules (all measured in the e2e)
(which copy the WebGL canvas) never contain a mark. No wire message is involved: a two-tab row lists every type A sent.
over it. A refused surface or a consent card is not a valid control anchor (ui_tree's
check).most 12 marks. A new call replaces the set.
120 s. They have their own pacing (12 a minute), separate from show's 6. Refused in a headset.
tools/shots/lib/draw.cjs): accent #ff7a45 on a dark halo, a 2.4 px stroke on a5.2 px halo, 12.5 px number badges, a seeded hand-drawn wobble. They come from new tokens
--mark,--mark-halo,--mark-on. No emoji, no icon.GRANT-STOP (claude:9)
The brief puts marks under the panel grant. That card says "open and close your panels and select things in them",
which does not cover drawing on the person's screen. The code gates marks as
MARKS_KIND = 'panel'(showTool.js) onlyso the mechanism can be tested; switching kinds is that one constant. The lane recommends a new kind
point("point atthings on your screen with arrows, rings and numbers"), shared with 108-tree's point_at. Details: the lane's
QUESTIONS-108-marks.md, Q1 and Q3.
Seam for 108-tree
guideMarks.setControlResolver({element(id) -> Element | null, check(id) -> true | reason}), called once by ui_tree.Control ids are ui_tree's own, unchanged. At the stack: wire the resolver, add
controlto the marks item schema(about +150 B), add the eval row "show me where the bake button is", and rebuild the bundle from v1.87.0 so it carries
both branches.
Numbers
tests/agent-eval/tokens.mjsand sonnet. The Worker module is not on the Mac, so this used a stand-in that reproduces v1.87.0's real-Worker figure
exactly (out/108-marks.standin-policy.mjs). Only
showchanged; its listing brief was rewritten and its pinrefreshed.
u1b-*(point at the ball, where is the lamp without moving my view, number the crate and the door,circle and label the table, take the marks off). v1.87.0 catalog: 1/5 (it made 3D text objects in the scene to label
things). This branch: 5/5. Same stand-in.
Tests
tests/unit/guideMarks.test.js(23): validation, plain-text rules, life, projection, the edge arrow, the docspaths, where each piece of a mark goes.
showScene.test.jsupdated for the new actions.tests/e2e/connector-guide-marks.test.cjs: 74/74 in about 95 s, run twice on the Mac (battery.json 120). Itcovers the first-use question; the chip; no pointer events (a viewport click selects the cube under a ring, a chrome
control under a screen mark is what's hit); follow and edge arrow; hiding under a question card, an approval and
Settings; Esc, Clear, timer, replace, clear and current; refusals; pacing; phase 2 with a stand-in resolver; two tabs
(nothing on B, no marks message from A); a recording with no mark colour while the screen shows the marks; folded and
unfolded phone sizes with the forced toast (Clear is reachable and a tap clears).
Mac run:
APP_URL=https://localhost:7380/ E2E_CHROMIUM_EXTRA_ARGS=--disable-features=WebRtcHideLocalIpsWithMdns.85/85,
npm run buildok. Full unit run: 8,801 pass, 1 fail. The failure islevelTemplates"build from the kits",a 5 s timeout already known on this Mac (also on untouched v1.86.0).
🤖 Generated with Claude Code
Built on the Mac by lane 108-marks; pushed from the Deck by the orchestrator. Rides the int after 107b-int-2.
🤖 Generated with Claude Code
https://claude.ai/code/session_01P2hkj6fQfU2qTecxXNKeEB